package com.design.proxy;

/**
 * @author cxx
 * @create 2020-04-21 11:39
 **/
public class Main {

    /**
     *  代理模式 - jdk代理
     */
    public static void main(String[] args) {

        Service service = ProxyUtil.proxy (new ServiceImpl ());
        service.save ();

    }

}
